home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
newdlg11.zip
/
patch.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-07-01
|
796b
|
40 lines
@echo off
REM ************************
REM NewDlg v1.1 Patch script
REM (C)opyright Tomas Ögren
REM stric@freenet.hut.fi
REM ************************
if .%1.==.. goto NoParams
if .%2.==.. goto NoParams
if not exist %1 goto FileNotFound
set res=NONE
if .%2.==.SMALL. set res=256.4s
if .%2.==.LARGE. set res=256.4l
if .%res.==.NONE. goto WrongParams
call resmgr -d %1 %res
call resmgr -a %1 %res
echo Patch applied!
goto TheEnd
:FileNotFound
echo Error: %1: File not found!
goto Usage
:WrongParams
echo Error: Second parameter should be LARGE or SMALL, nothing else.
goto Usage
:NoParams
echo Error: Not enough parameters!
goto Usage
:Usage
echo.
echo Usage: PATCH.CMD dll_filename LARGE/SMALL
echo.
echo See file Readme for more information
:TheEnd